﻿using Pay.DTO;
using Pay.IService;
using Pay.TO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Flurl.Http;
using Pay.Core;
using System.Threading;

namespace Pay.Token.Controllers
{
    /// <summary>
    ///睿享金服 网申、网贷 数据处理
    /// </summary>
    [RoutePrefix("rxjf")]
    public class RXJFController : BaseController
    {
        private IRXJFService _iRXJFService;
        public RXJFController(IRXJFService iRXJFService)
        {
            _iRXJFService = iRXJFService;
        }

        /// <summary>
        /// 睿享金服 网申、网贷 数据处理
        /// </summary>
        /// <returns></returns>
        [Route("RXJFDataHandle"), HttpGet,AllowAnonymous,Anonymous]
        public ResultMessage<bool> RXJFDataHandle() {
            _iRXJFService.RXJFDataHandle();
            return ResultToJson.Json(true);
        }

    }
}

